From: Matthias Clasen Date: Tue, 7 Jan 2020 01:30:14 +0000 (-0500) Subject: testdnd2: Update to the api change in the previous commit X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1~1^2~321^2^2~354^2~59 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c95659bf3279a3a2a692f915b2e229c29c29f5c9;p=gtk4.git testdnd2: Update to the api change in the previous commit --- diff --git a/tests/testdnd2.c b/tests/testdnd2.c index a9e4b8629a..8a04745a66 100644 --- a/tests/testdnd2.c +++ b/tests/testdnd2.c @@ -273,7 +273,7 @@ drag_end (GtkDragSource *source) } static gboolean -drag_failed (GtkDragSource *source, +drag_cancel (GtkDragSource *source, GdkDrag *drag, GdkDragCancelReason reason) { @@ -306,7 +306,7 @@ make_image (const gchar *icon_name, int hotspot) g_signal_connect (source, "drag-begin", G_CALLBACK (drag_begin), NULL); g_signal_connect (source, "drag-end", G_CALLBACK (drag_end), NULL); - g_signal_connect (source, "drag-failed", G_CALLBACK (drag_failed), NULL); + g_signal_connect (source, "drag-cancel", G_CALLBACK (drag_cancel), NULL); gtk_widget_add_controller (image, GTK_EVENT_CONTROLLER (source)); dest = gtk_drop_target_new (formats, GDK_ACTION_COPY|GDK_ACTION_MOVE|GDK_ACTION_ASK);